﻿using UnityEngine;
using System.Collections;

public class LoginTip : MonoBehaviour {
    public GameObject close;
    public GameObject rightButton;
    public GameObject leftButton;
    public GameObject loginPanel;
    /// <summary>
    /// 关闭按钮
    /// </summary>
    public void OnCloseButton() 
    {
        this.gameObject.SetActive(false);
    }
    /// <summary>
    /// 返回到登录界面
    /// </summary>
    public void OnLeftButton() 
    {
        this.gameObject.SetActive(false);
        loginPanel.SetActive(true);
    }
    /// <summary>
    /// “游客登录”，不进行绑定账号，继续游戏
    /// </summary>
    public void OnRightButton() 
    {
        Debug.Log("点击了“游客登录”");
    }
	
}
